﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Security.Permissions;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace PHRClient
{
    public partial class LoginForm : Form
    {
        public LoginForm()
        {
            InitializeComponent();
            this.TopLevel = false;
            this.AutoScroll = true;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            this.Dock = DockStyle.Fill;

            DoctorMainForm._mainForm.Controls.Clear();
            DoctorMainForm._mainForm.Controls.Add(this);

            MainForm.PortListnerStart();

        }

        private void submitButton_Click(object sender, EventArgs e)
        {
            Validator.loginValidate(userNameTextBox.Text, passwordTextBox.Text);
        }

    }
}